package cn.hengzhu.main_manager.repository.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class AccessRecord implements Serializable {
    /**
     * 主键ID
     *
     * @mbg.generated
     */
    private Integer id;

    /**
     * 用户Id（微信的openid,或者和管理员的登录名，或者为快递单号）
     *
     * @mbg.generated
     */
    private String userId;

    /**
     * 存取箱id
     *
     * @mbg.generated
     */
    private Integer boxId;

    /**
     * 类型（1.存  2.取  3.清除 4.开门 5。一键开门 6.还 7借）
     *
     * @mbg.generated
     */
    private Byte type;

    /**
     * 来源（1.管理员操作   2.微信公众号用户操作 3.微信小程序  4.支付宝公众号   5.支付宝小程序  6.取件人操作）
     *
     * @mbg.generated
     */
    private Byte source;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 哪一天的记录
     *
     * @mbg.generated
     */
    private String createDay;

    /**
     * 费用(单位元)
     *
     * @mbg.generated
     */
    private BigDecimal charge;

    /**
     * 使用时长（毫秒）
     *
     * @mbg.generated
     */
    private Long useTime;

    /**
     * 手机号，快递柜需要此参数，其他的不需要
     *
     * @mbg.generated
     */
    private String phone;
    
    /**
     * 费用是否退款（0.否  1.是）
     *
     * @mbg.generated
     */
    private Byte isRefund;

    /**
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     *
     * @mbg.generated
     */
    public Integer getId() {
        return id;
    }

    /**
     *
     * @mbg.generated
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *
     * @mbg.generated
     */
    public String getUserId() {
        return userId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /**
     *
     * @mbg.generated
     */
    public Integer getBoxId() {
        return boxId;
    }

    /**
     *
     * @mbg.generated
     */
    public void setBoxId(Integer boxId) {
        this.boxId = boxId;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getType() {
        return type;
    }

    /**
     *
     * @mbg.generated
     */
    public void setType(Byte type) {
        this.type = type;
    }

    /**
     *
     * @mbg.generated
     */
    public Byte getSource() {
        return source;
    }

    /**
     *
     * @mbg.generated
     */
    public void setSource(Byte source) {
        this.source = source;
    }

    /**
     *
     * @mbg.generated
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     *
     * @mbg.generated
     */
    public String getCreateDay() {
        return createDay;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCreateDay(String createDay) {
        this.createDay = createDay;
    }

    /**
     *
     * @mbg.generated
     */
    public BigDecimal getCharge() {
        return charge;
    }

    /**
     *
     * @mbg.generated
     */
    public void setCharge(BigDecimal charge) {
        this.charge = charge;
    }

    /**
     *
     * @mbg.generated
     */
    public Long getUseTime() {
        return useTime;
    }

    /**
     *
     * @mbg.generated
     */
    public void setUseTime(Long useTime) {
        this.useTime = useTime;
    }

    /**
     *
     * @mbg.generated
     */
    public String getPhone() {
        return phone;
    }

    /**
     *
     * @mbg.generated
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

	public Byte getIsRefund() {
		return isRefund;
	}

	public void setIsRefund(Byte isRefund) {
		this.isRefund = isRefund;
	}
    
}